package com.day0009;

public class Manager extends Employee{
    private Clerk clerk;

    public Manager() {
    }

    public Manager(String name, String workId, String depart) {
        super(name, workId, depart);

    }

    @Override
    public void showMsg() {
        super.showMsg();
        System.out.println("他的职员是"+clerk.getName());
    }

    public Clerk getClerk() {
        return clerk;
    }

    public void setClerk(Clerk clerk) {
        this.clerk = clerk;
    }
}
